package operation;

import book.bookList;

/**
 * @Author @fiber-cloud
 * @Date 2025/7/13 15:33
 * 显示操作
 */
public class DisplayOperation implements IOperation{

    @Override
    public void work(bookList booklist) {
        System.out.println("显示图书");

        for (int i = 0; i < booklist.getCount(); i++) {
            System.out.println(booklist.getBooks(i));
        }
    }
}
